package com.xyht.sca_s.student_manage_system.modules.clockIn.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 补卡申请表
 * </p>
 *
 * @author XYHT
 * @since 2023-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_clock_in_apply")
@ApiModel(value="SmsClockInApply对象", description="补卡申请表")
public class SmsClockInApply implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申请人")
    private String applyUserId;

    @ApiModelProperty(value = "日常记录(存入打卡记录id)")
    private String clockInId;

    @ApiModelProperty(value = "补卡日期")
    private Date abnormalDate;

    @ApiModelProperty(value = "补考时间")
    private Date repairTime;

    @ApiModelProperty(value = "补卡事由")
    private String repairReason;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回 ")
    private Integer allowStatus;

    @ApiModelProperty(value = "流程结束时间")
    private Date processEndTime;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;


}
